<!-- <div class="row clearfix">
    <div class="col-xs-12">
        <div class="panel  panel-default no-margin-bottom">
            <div class="panel-heading cursor">
                <h2>Featured Dapps</h2>
                <div class="more" ng-show="transactions.length">
                    <span class="sr-only">More</span>
                </div>
            </div>
        </div>
    </div>
</div> -->
<!-- <div class="row clearfix">
    <div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
        <div class="dapp-content cursor clearfix" ui-sref="main.dappentry">
            <div class="cover">
                <div class="cover-image-container">
                    <div class="cover-outer-align">
                        <div class="cover-inner-align"><img alt="EMAIL (Peer-to-peer)" class="cover-image" src="https://placeimg.com/132/132/tech">
                        </div>
                    </div>
                </div>
            </div>
            <div class="details">
                <h2>
                    <span class="title" href="#">Inbox</span>
                </h2>
                <div class="subtitle-container">
                    <span class="subtitle">Martin West</span>
                </div>
                <div class="description">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do... eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
                </div>
            </div>
            <div class="reason-set">
                <span class="stars-container">
                    <div class="reason-set-star-rating">
                        <div class="small-star star-rating-non-editable-container" aria-label="Средняя оценка: 4,3 из 5">
                            <div class="current-rating" style="width: 68.29926300048828%;"></div>
                        </div>
                    </div>
                    <span class="price-container">
                        <span class="paragraph-end"></span>
                        <span class="apps is-price-tag buy-button-container" data-doc-fetch-skip-cache="0" data-doc-fetch-vouchers="0" data-docid="com.halfbrick.fruitninja">
                            <div class="pon" style="display:none">1
                            </div>
                            <button style="display:none" class="price buy id-track-click" data-server-cookie="CAIaIgogEh4KGGNvbS5oYWxmYnJpY2suZnJ1aXRuaW5qYRABGAM=" data-uitype="200">
                                <span class="display-price">0,91&nbsp;€</span>
                            </button>
                            <span class="acquired-label">
                                <span class="acquired-icon"></span>
                            </span>
                        </span>
                    </span>
                </span>
            </div>
        </div>
    </div>
    <div class=" col-lg-4 col-md-6 col-sm-12 col-xs-12">
        <div class="dapp-content clearfix">
            <div class="cover">
                <div class="cover-image-container">
                    <div class="cover-outer-align">
                        <div class="cover-inner-align"><img alt="EMAIL (Peer-to-peer)" class="cover-image" src="https://placeholdit.imgix.net/~text?txtsize=33&txt=132%C3%97132&w=132&h=132">
                        </div>
                    </div>
                </div>
            </div>
            <div class="details">
                <h2>
                    <span class="title" href="#">Inbox</span>
                </h2>
                <div class="subtitle-container">
                    <span class="subtitle">Martin West</span>
                </div>
                <div class="description">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do... eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
                </div>
            </div>
            <div class="reason-set">
                <span class="stars-container">
                    <div class="reason-set-star-rating">
                        <div class="small-star star-rating-non-editable-container" aria-label="Средняя оценка: 4,3 из 5">
                            <div class="current-rating" style="width: 68.29926300048828%;"></div>
                        </div>
                    </div>
                    <span class="price-container">
                        <span class="paragraph-end"></span>
                        <span class="apps is-price-tag buy-button-container" data-doc-fetch-skip-cache="0" data-doc-fetch-vouchers="0" data-docid="com.halfbrick.fruitninja">
                            <div class="pon" style="display:none">1
                            </div>
                            <button style="display:none" class="price buy id-track-click" data-server-cookie="CAIaIgogEh4KGGNvbS5oYWxmYnJpY2suZnJ1aXRuaW5qYRABGAM=" data-uitype="200">
                                <span class="display-price">0,91&nbsp;€</span>
                            </button>
                            <span class="acquired-label">
                                <span class="acquired-icon"></span>
                            </span>
                        </span>
                    </span>
                </span>
            </div>
        </div>
    </div>
    <div class="col-lg-4 col-md-12 col-sm-12 col-xs-12">
        <div class="dapp-content clearfix">
            <div class="cover">
                <div class="cover-image-container">
                    <div class="cover-outer-align">
                        <div class="cover-inner-align"><img alt="EMAIL (Peer-to-peer)" class="cover-image" src="https://placeholdit.imgix.net/~text?txtsize=33&txt=132%C3%97132&w=132&h=132">
                        </div>
                    </div>
                </div>
            </div>
            <div class="details">
                <h2>
                    <span class="title" href="#">Inbox</span>
                </h2>
                <div class="subtitle-container">
                    <span class="subtitle">Martin West</span>
                </div>
                <div class="description">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do... eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
                </div>
            </div>
            <div class="reason-set">
                <span class="stars-container">
                    <div class="reason-set-star-rating">
                        <div class="small-star star-rating-non-editable-container" aria-label="Средняя оценка: 4,3 из 5">
                            <div class="current-rating" style="width: 68.29926300048828%;"></div>
                        </div>
                    </div>
                    <span class="price-container">
                        <span class="paragraph-end"></span>
                        <span class="apps is-price-tag buy-button-container" data-doc-fetch-skip-cache="0" data-doc-fetch-vouchers="0" data-docid="com.halfbrick.fruitninja">
                            <div class="pon" style="display:none">1
                            </div>
                            <button style="display:none" class="price buy id-track-click" data-server-cookie="CAIaIgogEh4KGGNvbS5oYWxmYnJpY2suZnJ1aXRuaW5qYRABGAM=" data-uitype="200">
                                <span class="display-price">0,91&nbsp;€</span>
                            </button>
                            <span class="acquired-label">
                                <span class="acquired-icon"></span>
                            </span>
                        </span>
                    </span>
                </span>
            </div>
        </div>
    </div>
</div> -->
<!--<div class="row clearfix margin"></div>-->
<div class="row clearfix show-in-small">
    <div class="col-xs-12">
        <div class="panel panel-new-dapp">
            <div class="panel-heading cursor">
                <translate>ADD NEW DAPP</translate>
                <a ng-click="addNewDapp()" class="btn-floating btn-large waves-effect waves-light blue">
                    <i class="mdi-content-add"></i>
                </a>
            </div>
        </div>
    </div>
</div>
<div class="row clearfix margin" ng-if="!dapps.length && !installedDapps.length">
    <div class="col-xs-12">
        <div class="panel  panel-default no-margin-bottom">
            <div class="panel-body empty-body ng-scope">
                <div class="logo-grey"></div>
                <p ng-if="!searchDapp.searchForDappGlobal.length" class="empty-state-text">{{'You do not have any dapps installed yet.'|translate}}</translate></p>
                <p ng-if="!!searchDapp.searchForDappGlobal.length" class="empty-state-text"><translate>No results for search '{{searchDapp.searchForDappGlobal}}' in dapps.</translate></p>
            </div>
        </div>
    </div>
</div>
<div class="row clearfix" ng-repeat-start="cat in dapps | groupBy: 'category'">
    <div class="col-xs-12">
        <div class="panel  panel-default no-margin-bottom" ui-sref='main.dappsCategory({categoryId:"{{getCategoryName(cat[0].category)}}"})'>
            <div class="panel-heading cursor">
                <h2>{{getCategoryName(cat[0].category)}} {{searchedText}}</h2>
                <div class="more">
                    <span class="sr-only"><translate>More</translate></span>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="row clearfix">
    <div ng-repeat="dapp in cat | limitTo: 6" class="col-lg-2 col-md-4 col-sm-4 col-xs-6">
        <div class="dapp-content small-dapp clearfix cursor">
            <div class="cover">
                <div class="cover-image-container">
                    <div class="cover-outer-align">
                        <div class="cover-inner-align">
                            <img ng-if="!dapp.icon && !dapp.siaIcon" class="cover-image" src="https://placeholdit.imgix.net/~text?txtsize=33&txt=208%C3%97208&w=208&h=208">
                            <img ng-if="dapp.icon" class="cover-image" ng-src="{{dapp.icon}}">
                            <img ng-if="dapp.siaIcon" class="cover-image" ng-src="/api/dapps/icon?id={{dapp.transactionId}}">
                        </div>
                    </div>
                </div>
            </div>
            <div class="details">
                <h2>
                    <span class="title" href="#">{{dapp.name}}</span>
                </h2>
                <div class="subtitle-container">
                    <span class="subtitle">{{dapp.nikname}}</span>
                </div>
            </div>
            <div class="reason-set">
                <span class="stars-container">
                    <div class="reason-set-star-rating">
                        <div class="small-star star-rating-non-editable-container" aria-label="Average Rating: 4.3 out of 5">
                            <div class="current-rating" style="width: 68.29926300048828%;"></div>
                        </div>
                    </div>
                    <span class="price-container">
                        <span class="paragraph-end"></span>
                        <span class="apps is-price-tag buy-button-container" data-doc-fetch-skip-cache="0" data-doc-fetch-vouchers="0" data-docid="com.halfbrick.fruitninja">
                            <div class="pon" style="display:none">1</div>
                            <button style="display:none" class="price buy id-track-click" data-server-cookie="CAIaIgogEh4KGGNvbS5oYWxmYnJpY2suZnJ1aXRuaW5qYRABGAM=" data-uitype="200">
                                <span class="display-price">0.91&nbsp;€</span>
                            </button>
                            <span class="acquired-label">
                                <span class="acquired-icon"></span>
                            </span>
                        </span>
                    </span>
                </span>
            </div>
            <a ng-if="dapp.type==1" class="target-link" target-blank ng-href="{{dapp.link}}"></a>
            <a ng-if="dapp.type!=1" class="target-link" href="#" ui-sref='main.dappentry({"dappId":"{{dapp.transactionId}}"})'></a>
        </div>
    </div>
</div>
<div class="row clearfix margin" ng-repeat-end></div>
<div class="row clearfix" ng-if="installedDapps.length">
    <div class="col-xs-12">
        <div class="panel  panel-default no-margin-bottom" ui-sref='main.dappsCategory({categoryId:"Installed"})' eat-click-if="!installedDapps.length">
            <div class="panel-heading" ng-class="{'cursor': installedDapps.length}">
                <h2>{{'Installed Dapps'|translate}} {{searchedInstalledText}}</h2>
                <div class="more">
                    <span class="sr-only"><translate>More</translate></span>
                </div>
            </div>
            <div ng-if="!installedDapps.length" class="panel-body empty-body ng-scope">
                <div class="logo-grey"></div>
                <p class="empty-state-text">{{'You have not installed dapps yet.'|translate}}</p>
            </div>
        </div>
    </div>
</div>
<div class="row clearfix">
    <div ng-repeat="dapp in installedDapps | limitTo: 6" class="col-lg-2 col-md-4 col-sm-4 col-xs-6">
        <div class="dapp-content small-dapp clearfix cursor">
            <div class="cover">
                <div class="cover-image-container">
                    <div class="cover-outer-align">
                        <div class="cover-inner-align">
                            <img ng-if="!dapp.icon && !dapp.siaIcon" class="cover-image" src="https://placeholdit.imgix.net/~text?txtsize=33&txt=208%C3%97208&w=208&h=208">
                            <img ng-if="dapp.icon" class="cover-image" ng-src="{{dapp.icon}}">
                            <img ng-if="dapp.siaIcon" class="cover-image" ng-src="/api/dapps/icon?id={{dapp.transactionId}}">
                        </div>
                    </div>
                </div>
            </div>
            <div class="details">
                <h2>
                    <span class="title" href="#">{{dapp.name}}</span>
                </h2>
                <div class="subtitle-container">
                    <span class="subtitle">{{dapp.nikname}}</span>
                </div>
            </div>
            <div class="reason-set">
                <span class="stars-container">
                    <div class="reason-set-star-rating">
                        <div class="small-star star-rating-non-editable-container" aria-label="Средняя оценка: 4,3 из 5">
                            <div class="current-rating" style="width: 68.29926300048828%;"></div>
                        </div>
                    </div>
                    <span class="price-container">
                        <span class="paragraph-end"></span>
                        <span class="apps is-price-tag buy-button-container" data-doc-fetch-skip-cache="0" data-doc-fetch-vouchers="0" data-docid="com.halfbrick.fruitninja">
                            <div class="pon" style="display:none">1</div>
                            <button style="display:none" class="price buy id-track-click" data-server-cookie="CAIaIgogEh4KGGNvbS5oYWxmYnJpY2suZnJ1aXRuaW5qYRABGAM=" data-uitype="200">
                                <span class="display-price">0,91&nbsp;€</span>
                            </button>
                            <span class="acquired-label">
                                <span class="acquired-icon"></span>
                            </span>
                        </span>
                    </span>
                </span>
            </div>
            <a ng-if="dapp.type==1" class="target-link" target-blank ng-href="{{dapp.link}}"></a>
            <a ng-if="dapp.type!=1" class="target-link" href="#" ui-sref='main.dappentry({"dappId":"{{dapp.transactionId}}"})'></a>
        </div>
    </div>
</div>
<div class="row clearfix margin"></div>
<div class="fixed-action-btn hide-in-small" style="bottom: 45px; right: 24px;">
    <a id="addDapp" class="btn-floating btn-large blue" ng-click="addNewDapp()">
        <i class="large material-icons">add</i>
    </a>
</div>
